home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ GX 1.1.2 / Programming Stuff / Symantec tips < prev   
Encoding:
Text File  |  1995-04-10  |  2.6 KB  |  51 lines  |  [ttro/ttxt]

  1. This file…
  2. …is here to help you get started building the QuickDraw GX sample code using THINK C 6.0 or later.  It contains a some tips to help you on your way.  You'll probably be able to set things up on your own, but here's how to proceed if you're not quite sure what to do with all this stuff.
  3.  
  4.                   Setting up your development environment for THINK C
  5.  
  6. (All of the files mentioned here are in folders within the SDK CD's "Programming Stuff" folder.  The suggestions for renaming the folders are merely that-- the names are not critical.)
  7.  
  8. • Open the "QuickDraw™ GX Interfaces & Libs" folder.
  9.   Drag the folder "CIncludes" to your Think "Mac #includes" folder.
  10.   Rename this folder as "QuickDraw™ GX CIncludes."
  11.  
  12.   Drag the folder "RIncludes" to your Think "Mac #includes" folder.
  13.   Rename this folder as "QuickDraw™ GX RIncludes."
  14.  
  15. • Open the "QuickDraw™ GX Libraries" folder.
  16.   Drag the folder "CIncludes" to your Think "Mac #includes" folder.
  17.   Rename this folder as "QuickDraw™ GX Lib CIncludes."
  18.  
  19.   Drag the folder "Graphics Libraries" to your Think "Mac Libraries" folder.
  20.   Rename this folder as "QDGX Graphics Libraries"
  21.  
  22.   Drag the folder "Printing Libraries" to your Think "Mac Libraries" folder.
  23.   Rename this folder as "QDGX Printing Libraries"
  24.  
  25.  
  26.                                                                     Which universal interfaces?
  27.  
  28. For consistency, all samples on this CD can be built using the latest Apple universal interfaces on this CD.  While the universal interfaces that Think provides will probably work as well, here's how to set up your interfaces as we did:
  29.  
  30. • Remove the "Apple #includes" folder from your Think "Mac #includes" folder.
  31.    You can just drag this to a higher level for safe keeping in case you want to revert to the Think interfaces for some
  32.    reason.
  33.  
  34. • Open the "Interfaces & Libraries : Prerelease : Interfaces " folder.
  35.   Drag the folder "CIncludes" to your Think "Mac #includes" folder.
  36.   Rename this folder as "MacOS CD CIncludes."
  37.  
  38.    Drag the folder "RIncludes" to your Think "Mac #includes" folder.
  39.    Rename this folder as "MacOS CD RIncludes."
  40.  
  41.  
  42.                                                                          Other requirements
  43.  
  44. You may also want to set the "Prefix" in your Think C options dialog.  Your prefix should be set to the following:
  45.  
  46. #define debugging 1
  47.  
  48. Becuase a bug in the ET0 #15 version of "types.h" has been fixed in ETO 16, you no longer need to explicitly typedef float_t and double_t in the prefix. (For most of the Think C samples on this CD, a suitable prefix is already stored in the project files.)
  49.  
  50. a dh  4/10/95 d
  51.